﻿@model IEnumerable<Zatify.Domain.Data.SystemUser>

@{
    Layout = null;
}
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
</head>
<body onload="window.print();">
    <table id="reportTable">
        <thead>
            <tr>
                <th style="background: #cccccc;">
                    Login
                </th>
                <th style="background: #cccccc;">
                    Email
                </th>
                <th style="background: #cccccc;">
                    Phone
                </th>
                <th style="background: #cccccc;">
                    Role
                </th>
                <th style="background: #cccccc;">
                    Status
                </th>
            </tr>
        </thead>
        <tbody>
            @foreach (var systemUser in Model)
            {
                <tr>
                    <td>
                        @systemUser.Login
                    </td>
                    <td>
                        @systemUser.Email
                    </td>
                    <td>
                        @systemUser.Phone
                    </td>
                    <td>
                        @systemUser.Role
                    </td>
                    <td>
                        @(systemUser.IsActive ? "Active" : "Inactive")
                    </td>
                </tr>
            }
        </tbody>
    </table>
</body>
</html>
